package tp.pr4.listeners;

import java.util.ArrayList;

import tp.pr4.items.Item;

public class ItemContainerListenerArray extends ArrayList<ItemContainerListener> implements ItemContainerListener {
	private static final long serialVersionUID = 1L;

	@Override
	public void onChange(Item it, ItemContainerChangeType type) {
		for (int i = 0; i < this.size(); i++)
			this.get(i).onChange(it, type);
	}

}
